package com.ins.service;

import com.ins.model.query.Query;
import com.ins.model.vo.ConfigsVO;
import com.ins.model.vo.RecommendInfoVO;
import com.ins.model.vo.RecommendVO;
import com.mybatisflex.core.paginate.Page;

/**
 * HomeService
 *
 * @author aa
 * @version 1.0
 * @since 2024/7/15
 */
public interface HomeService {

    /**
     * 首页配置信息
     *
     * @return ConfigsVO
     */
    ConfigsVO configs();

    /**
     * 首页推荐
     *
     * @return RecommendVO
     */
    RecommendVO recommend();

    Page<RecommendInfoVO> search(Query query);
}
